
































  
  


  

  
  	
  

  

	
	

	
	
	
	
	




  
















	
	
	
	
	
	
	
	
	
	
  
  


	


	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	




    
  






  
    
  




	
	
	
	
	



<!--NewPage-->
<HTML>

<!-- Mirrored from delerium:8503/cfcdoc/content.cfm?file=C%3A%5CInetpub%5Cwwwroot%5Ctransfer%2Droot%5Ctransfer%5Ccom%5Cdynamic%5CTransferPopulator%2Ecfc by HTTrack Website Copier/3.x [XR&CO'2006], Sat, 07 Apr 2007 03:16:44 GMT -->
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=UTF-8"><!-- /Added by HTTrack -->
<HEAD>

<!-- Generated by CFDoc on 07-Apr-2007 01:16 PM -->

<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
</HEAD>
<BODY>


	



<HR>
<!-- ======== START OF CLASS DATA ======== -->

<div style="float:left;">

<a href="default.html" style="float: right;">Documentation home page</a>
</div>
<H2>
<span style="font-size: smaller">
<a href="componentsa7af.html" target="components">transfer.com.dynamic</a>
</span>
<BR>
Component TransferPopulator</H2>


<PRE>
<B>transfer.com.dynamic.TransferPopulator</B>
</PRE>


<HR>
Populates a Transfer Objects with Query information


<HR>

<P>


<!-- ========== PROPERTY SUMMARY =========== -->

<A NAME="property_summary"><!-- --></A>






<!-- ========== METHOD SUMMARY =========== -->




<A NAME="method_summary"><!-- --></A>

<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">

<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>











	





	





	





	





	





	





	





	





	





	





	





	





	





	





	



	<TR BGCOLOR="eeeeff" CLASS="TableRowColorConstructor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>public <a href="contentdf26.html" target="_self">TransferPopulator</a></CODE></TD>
	<TD><CODE><B><A HREF="#init()">init</A></B>(<a href="content2795.html">SQLManager</a> sqlManager,&nbsp;<a href="content7dd0.html">ObjectManager</a> objectManager)</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor
	</TD>
	</TR>
	

	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_struct" target="_self">struct</a></CODE></TD>
	<TD><CODE><B><A HREF="#buildMemento()">buildMemento</A></B>(<a href="nativetypes.html#detail_query">query</a> qObject)</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Builds a memento from a object and query
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="content2861.html" target="_self">MethodInvoker</a></CODE></TD>
	<TD><CODE><B><A HREF="#getMethodInvoker()">getMethodInvoker</A></B>()</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="content7dd0.html" target="_self">ObjectManager</a></CODE></TD>
	<TD><CODE><B><A HREF="#getObjectManager()">getObjectManager</A></B>()</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_any" target="_self">any</a></CODE></TD>
	<TD><CODE><B><A HREF="#getPropertyColumnValue()">getPropertyColumnValue</A></B>(<a href="nativetypes.html#detail_query">query</a> query,&nbsp;<a href="content7052.html">Object</a> object,&nbsp;<a href="content7dd2.html">Property</a> property)</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the column value, but returns the default null value for the item if it is NULL
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="content2795.html" target="_self">SQLManager</a></CODE></TD>
	<TD><CODE><B><A HREF="#getSQLManager()">getSQLManager</A></B>()</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>public <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#populate()">populate</A></B>(<a href="content3bbf.html">TransferObject</a> transfer,&nbsp;<a href="nativetypes.html#detail_string">string</a> key)</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Populates a Transfer object with query data
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>public <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#populateManyToMany()">populateManyToMany</A></B>(<a href="content3bbf.html">TransferObject</a> transfer,&nbsp;<a href="nativetypes.html#detail_string">string</a> name)</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;populates manytomany data into the object for lazy load
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>public <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#populateManyToOne()">populateManyToOne</A></B>(<a href="content3bbf.html">TransferObject</a> transfer,&nbsp;<a href="nativetypes.html#detail_string">string</a> name)</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;populates many to one data into the object for lazy load
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>public <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#populateOneToMany()">populateOneToMany</A></B>(<a href="content3bbf.html">TransferObject</a> transfer,&nbsp;<a href="nativetypes.html#detail_string">string</a> name)</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;populates onetomany data into the object for lazy load
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>public <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#populateParentOneToMany()">populateParentOneToMany</A></B>(<a href="content3bbf.html">TransferObject</a> transfer,&nbsp;<a href="nativetypes.html#detail_string">string</a> name)</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;populates parent onetomany data into the object for lazy load
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#setMethodInvoker()">setMethodInvoker</A></B>(<a href="content2861.html">MethodInvoker</a> MethodInvoker)</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#setObjectManager()">setObjectManager</A></B>(<a href="content7dd0.html">ObjectManager</a> ObjectManager)</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#setSQLManager()">setSQLManager</A></B>(<a href="content2795.html">SQLManager</a> SQLManager)</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_any" target="_self">any</a></CODE></TD>
	<TD><CODE><B><A HREF="#throw()">throw</A></B>(<a href="nativetypes.html#detail_string">string</a> type,&nbsp;<a href="nativetypes.html#detail_string">string</a> message,&nbsp;[<a href="nativetypes.html#detail_string">string</a> detail=""])</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Throws an Exception
	
	
	</TD>
	</TR>
	
</TABLE>



&nbsp;
<P>



<!-- ============ METHOD DETAIL ========== -->


<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>












<A NAME="buildMemento()"><!-- --></A><H3>
buildMemento</H3>

<PRE>
private <A HREF="nativetypes.html#detail_struct" title="">struct</A> <B>buildMemento</B>(<a href="nativetypes.html#detail_query">query</a> qObject)</PRE>
<DL>
  <DD>
  	
  	
		Builds a memento from a object and query
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="nativetypes.html#detail_query">query</a> qObject</code> - The query that has the data</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="getMethodInvoker()"><!-- --></A><H3>
getMethodInvoker</H3>

<PRE>
private <A HREF="content2861.html" title="">transfer.com.dynamic.MethodInvoker</A> <B>getMethodInvoker</B>()</PRE>
<DL>
  <DD>
  	
  	
	
	
    
  </DD>
</DL>
<HR>




<A NAME="getObjectManager()"><!-- --></A><H3>
getObjectManager</H3>

<PRE>
private <A HREF="content7dd0.html" title="">transfer.com.object.ObjectManager</A> <B>getObjectManager</B>()</PRE>
<DL>
  <DD>
  	
  	
	
	
    
  </DD>
</DL>
<HR>




<A NAME="getPropertyColumnValue()"><!-- --></A><H3>
getPropertyColumnValue</H3>

<PRE>
private <A HREF="nativetypes.html#detail_any" title="">any</A> <B>getPropertyColumnValue</B>(<a href="nativetypes.html#detail_query">query</a> query,&nbsp;<a href="content7052.html">Object</a> object,&nbsp;<a href="content7dd2.html">Property</a> property)</PRE>
<DL>
  <DD>
  	
  	
		Returns the column value, but returns the default null value for the item if it is NULL
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="nativetypes.html#detail_query">query</a> query</code> - The query we are looking at</DD>
			
			  <DD><code><a href="content7052.html">Object</a> object</code> - The property to get the value for</DD>
			
			  <DD><code><a href="content7dd2.html">Property</a> property</code> - The property to get the value for</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="getSQLManager()"><!-- --></A><H3>
getSQLManager</H3>

<PRE>
private <A HREF="content2795.html" title="">transfer.com.sql.SQLManager</A> <B>getSQLManager</B>()</PRE>
<DL>
  <DD>
  	
  	
	
	
    
  </DD>
</DL>
<HR>




<A NAME="init()"><!-- --></A><H3>
init</H3>

<PRE>
public <A HREF="contentdf26.html" title="">TransferPopulator</A> <B>init</B>(<a href="content2795.html">SQLManager</a> sqlManager,&nbsp;<a href="content7dd0.html">ObjectManager</a> objectManager)</PRE>
<DL>
  <DD>
  	
  	
		Constructor
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content2795.html">SQLManager</a> sqlManager</code> - The SQL Manager</DD>
			
			  <DD><code><a href="content7dd0.html">ObjectManager</a> objectManager</code> - Need to object manager for making queries</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="populate()"><!-- --></A><H3>
populate</H3>

<PRE>
public <A HREF="nativetypes.html#detail_void" title="">void</A> <B>populate</B>(<a href="content3bbf.html">TransferObject</a> transfer,&nbsp;<a href="nativetypes.html#detail_string">string</a> key)</PRE>
<DL>
  <DD>
  	
  	
		Populates a Transfer object with query data
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content3bbf.html">TransferObject</a> transfer</code> - The transfer object to populate</DD>
			
			  <DD><code><a href="nativetypes.html#detail_string">string</a> key</code> - Key for the BO</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="populateManyToMany()"><!-- --></A><H3>
populateManyToMany</H3>

<PRE>
public <A HREF="nativetypes.html#detail_void" title="">void</A> <B>populateManyToMany</B>(<a href="content3bbf.html">TransferObject</a> transfer,&nbsp;<a href="nativetypes.html#detail_string">string</a> name)</PRE>
<DL>
  <DD>
  	
  	
		populates manytomany data into the object for lazy load
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content3bbf.html">TransferObject</a> transfer</code> - The transfer to load into</DD>
			
			  <DD><code><a href="nativetypes.html#detail_string">string</a> name</code> - The name of the manytoone to load</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="populateManyToOne()"><!-- --></A><H3>
populateManyToOne</H3>

<PRE>
public <A HREF="nativetypes.html#detail_void" title="">void</A> <B>populateManyToOne</B>(<a href="content3bbf.html">TransferObject</a> transfer,&nbsp;<a href="nativetypes.html#detail_string">string</a> name)</PRE>
<DL>
  <DD>
  	
  	
		populates many to one data into the object for lazy load
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content3bbf.html">TransferObject</a> transfer</code> - The transfer to load into</DD>
			
			  <DD><code><a href="nativetypes.html#detail_string">string</a> name</code> - The name of the manytoone to load</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="populateOneToMany()"><!-- --></A><H3>
populateOneToMany</H3>

<PRE>
public <A HREF="nativetypes.html#detail_void" title="">void</A> <B>populateOneToMany</B>(<a href="content3bbf.html">TransferObject</a> transfer,&nbsp;<a href="nativetypes.html#detail_string">string</a> name)</PRE>
<DL>
  <DD>
  	
  	
		populates onetomany data into the object for lazy load
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content3bbf.html">TransferObject</a> transfer</code> - The transfer to load into</DD>
			
			  <DD><code><a href="nativetypes.html#detail_string">string</a> name</code> - The name of the manytoone to load</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="populateParentOneToMany()"><!-- --></A><H3>
populateParentOneToMany</H3>

<PRE>
public <A HREF="nativetypes.html#detail_void" title="">void</A> <B>populateParentOneToMany</B>(<a href="content3bbf.html">TransferObject</a> transfer,&nbsp;<a href="nativetypes.html#detail_string">string</a> name)</PRE>
<DL>
  <DD>
  	
  	
		populates parent onetomany data into the object for lazy load
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content3bbf.html">TransferObject</a> transfer</code> - The transfer to load into</DD>
			
			  <DD><code><a href="nativetypes.html#detail_string">string</a> name</code> - The name of the external onetomany to load</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="setMethodInvoker()"><!-- --></A><H3>
setMethodInvoker</H3>

<PRE>
private <A HREF="nativetypes.html#detail_void" title="">void</A> <B>setMethodInvoker</B>(<a href="content2861.html">MethodInvoker</a> MethodInvoker)</PRE>
<DL>
  <DD>
  	
  	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content2861.html">MethodInvoker</a> MethodInvoker</code></DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="setObjectManager()"><!-- --></A><H3>
setObjectManager</H3>

<PRE>
private <A HREF="nativetypes.html#detail_void" title="">void</A> <B>setObjectManager</B>(<a href="content7dd0.html">ObjectManager</a> ObjectManager)</PRE>
<DL>
  <DD>
  	
  	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content7dd0.html">ObjectManager</a> ObjectManager</code></DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="setSQLManager()"><!-- --></A><H3>
setSQLManager</H3>

<PRE>
private <A HREF="nativetypes.html#detail_void" title="">void</A> <B>setSQLManager</B>(<a href="content2795.html">SQLManager</a> SQLManager)</PRE>
<DL>
  <DD>
  	
  	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content2795.html">SQLManager</a> SQLManager</code></DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="throw()"><!-- --></A><H3>
throw</H3>

<PRE>
private <A HREF="nativetypes.html#detail_any" title="">any</A> <B>throw</B>(<a href="nativetypes.html#detail_string">string</a> type,&nbsp;<a href="nativetypes.html#detail_string">string</a> message,&nbsp;[<a href="nativetypes.html#detail_string">string</a> detail=""])</PRE>
<DL>
  <DD>
  	
  	
		Throws an Exception
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="nativetypes.html#detail_string">string</a> type</code> - The type of exception</DD>
			
			  <DD><code><a href="nativetypes.html#detail_string">string</a> message</code> - The message to accompany the exception</DD>
			
			  <DD><code>[<a href="nativetypes.html#detail_string">string</a> detail=""]</code> - The detail message for the exception</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>







</BODY>

<!-- Mirrored from delerium:8503/cfcdoc/content.cfm?file=C%3A%5CInetpub%5Cwwwroot%5Ctransfer%2Droot%5Ctransfer%5Ccom%5Cdynamic%5CTransferPopulator%2Ecfc by HTTrack Website Copier/3.x [XR&CO'2006], Sat, 07 Apr 2007 03:16:44 GMT -->
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=UTF-8"><!-- /Added by HTTrack -->
</HTML>